package com.xg.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户机构关联表
 *
 * @email 825612263@qq.com
 * @date 2021-01-11 10:22:45
 */
@Data
@ApiModel(value = "SysUserOrg对象", description = "用户机构关联表实体")
@TableName("sys_user_org")
public class SysUserOrgEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private Long id;
    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    private Long userId;
    /**
     * 机构id
     */
    @ApiModelProperty(value = "机构id")
    private Long oid;
}
